package cn.meng.base.service;

import cn.meng.base.mapper.RegisterMapper;
import cn.meng.base.vo.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RegisterServiceImpl implements RegisterService{

    @Autowired
    RegisterMapper registerMapper;

    @Override
    public void addUser(UserVo user) {
        registerMapper.addUser(user);
    }

    @Override
    public UserVo queryEmail(String email) {
        return registerMapper.queryEmail(email);
    }


}
